<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/8/11
  Time: 9:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set value="${pageContext.request.contextPath}" var="ctx"/>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title></title>
    <link href="${ctx}/static/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="${ctx}/static/custom/css/main.css" rel="stylesheet"/>
</head>
<body>
<div class="container" style="margin-top: 20px">
    <form class="form-horizontal">
        <div class="form-group">
            <div class="col-md-6">
                <input type="text" name="searchParam" id="searchParam" class="form-control">
            </div>
            <div class="col-md-2">
                <button class="btn btn-info">Search</button>
            </div>
        </div>
    </form>
    <hr style="filter: alpha(opacity=100,finishopacity=0,style=3)" color=#987cb9 SIZE=3>
    <div class="row">
        <div class="col-md-9">
            <c:forEach var="item" items="${page}" varStatus="status">
                <div class="">
                    <div class="row">
                        <div class="col-md-12">
                            <h3><a href="${ctx}/article/${item.html}">${item.title}</a></h3>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12 content">
                            ${item.content}...
                        </div>
                    </div>
                </div>
            </c:forEach>
        </div>

        <div class="col-md-3"></div>
    </div>
</div>
</body>
</html>
